package com.lyz.subject.application.convert;

import com.lyz.subject.application.dto.SubjectInfoDto;
import com.lyz.subject.domain.entity.SubjectInfoBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SubjectInfoDtoConverter {

    SubjectInfoDtoConverter INSTANCE = Mappers.getMapper(SubjectInfoDtoConverter.class);

    SubjectInfoBo convertDtoToBo(SubjectInfoDto subjectInfoDto);

    SubjectInfoDto convertBoToDto(SubjectInfoBo subjectInfoBo);

}
